package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * @author huangpengfei
 */
@Data
@TableName("mall_commodity_category")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Schema(description = "商品品类表")
public class MallCommodityCategory extends BaseFormInfo<MallCommodityCategory> {
    @Serial
    private static final long serialVersionUID = 641655770L;
    @Schema(description = "品类名称")
    private String name;
    @Schema(description = "banner")
    private String cover;
    @Schema(description = "图标")
    private String icon;
    @Schema(description = "级别")
    private Integer level;
    @Schema(description = "排序")
    private Integer sort;
    @Schema(description =  "上级品类guid")
    private String parentGuid;
}